import request from 'umi-request';
import db from '@/utils/localstorage';

export async function queryCurrent() {
  // return request(`/sys/user/edit/${params.id}`);
  return db.get("user")
}
export async function queryProvince() {
  return request('/api/geographic/province');
}
export async function queryCity(province) {
  return request(`/api/geographic/city/${province}`);
}
export async function query() {
  return request('/api/users');
}
